package com.github.taomus.fig.antlr4.test

import cool.taomu.software.fig.asm.aspect2.AspectHandle
import cool.taomu.software.fig.asm.aspect2.annotation.Around
import cool.taomu.software.fig.asm.aspect2.annotation.Aspect
import java.util.Stack
import org.junit.Test

class CalcTest2 {
	@Aspect
	static class Clistener {
		public static Stack<Integer> stack = new Stack<Integer>();

		@Around(value=Object)
		def calc(AspectHandle aspect) {
			//var arg = aspect.arguments.get(0);
			println(aspect.methodName);
		}
	}

	@Test
	def void test1() {
	   var String text = "goto L0";
	}
}
